package com.eight.enums;

/**
 * 仅仅是想要使用枚举类而创建的这个Api枚举类，可以很方便的取到我们对应的api信息。
 * @author Planifolia.Van
 */
public enum ApiEnum {

    //随机音乐的Api
    RandomMusic("RandomMusic","https://api.uomg.com/api/rand.music&format=json"),
    //随机st的Api
    RandomSt("RandomSt","https://api.lolicon.app/setu/v2?size=original"),
    //随机二次元的APi
    RandomEcy("RandomEcy","http://api.mtyqx.cn/api/random.php?return=json"),
    //随机Men酱表情包
    RandomMen("RandomMen","https://api.ixiaowai.cn/mcapi/mcapi.php"),
    //随机一言
    RandomHitokoto("RandomHitokoto","https://v1.hitokoto.cn"),
    // 随机诗词
    RandomPoetry("RandomPoetry","https://v1.jinrishici.com/all.json"),
    //历史上的今天api
    TodayInHis("TodayInHis","https://zhufred.gitee.io/zreader/ht/event/"),
    //随机头像api
    RandomTx("RandomTx","http://api.btstu.cn/sjtx/api.php?lx=c1&format=json"),
    //每日运势api
    Fortune("Fortune","https://api.fanlisky.cn/api/qr-fortune/get/"),
    //点歌api
    SongMessage("SongMessage","https://xiaoapi.cn/API/yy.php?type=PT&msg=MUSICNAME"),
    //获取源的api
    SongSourceSpApi("songSourceSpApi","http://music.163.com/song/media/outer/url?id=SONGID.mp3"),
    //万能搜索的api
    SourceSearch("SourceSearch","https://saucenao.com/search.php?output_type=2&api_key=3ba044a5b5eca713558bdb3a606c24b1c3b46bea&numres=3&url="),
    //新闻的api
    DailyNews("DailyNews","https://api.vvhan.com/api/60s"),
    //樱花动漫的api
    YhCartoon("","http://api.xn--7gqa009h.top/api/yhdm?msg=DMNAME&b="),
    //星座运势的api1
    Horoscope("Horoscope","https://xiaoapi.cn/API/xzys.php?msg="),
    //星座运势的api2
    HoroscopeSp("HoroscopeSp","https://api.vvhan.com/api/horoscope?type=HSNAME&time=today"),
    //诗词大会的api
    Poetry("Poetry","http://api.xn--7gqa009h.top/api/tgs?id=群号&msg=开始游戏"),
    //摸鱼人日历
    MoyuDate("MoyuDate","https://api.vvhan.com/api/moyu"),
    //

    ;

    final String key;
    final String value;

    ApiEnum(String key, String value) {
        this.key=key;
        this.value=value;
    }

    public String getValue(){
        return this.value;
    }
}
